<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.11"/>
<title>IgH EtherCAT Master: fsm_eoe.c File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">IgH EtherCAT Master
   &#160;<span id="projectnumber">1.5.2-sncn-5</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.11 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>Globals</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('fsm__eoe_8c.html','');});
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#define-members">Macros</a> &#124;
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">fsm_eoe.c File Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>EtherCAT EoE state machines.  
<a href="#details">More...</a></p>

<p><a href="fsm__eoe_8c_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
Macros</h2></td></tr>
<tr class="memitem:a41f73ce9501bcefa7e28b0e7c1a60628"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a41f73ce9501bcefa7e28b0e7c1a60628"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="fsm__eoe_8c.html#a41f73ce9501bcefa7e28b0e7c1a60628">EC_EOE_RESPONSE_TIMEOUT</a>&#160;&#160;&#160;3000</td></tr>
<tr class="memdesc:a41f73ce9501bcefa7e28b0e7c1a60628"><td class="mdescLeft">&#160;</td><td class="mdescRight">Maximum time to wait for a set IP parameter response. <br /></td></tr>
<tr class="separator:a41f73ce9501bcefa7e28b0e7c1a60628"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:adf94a07ec8c1b80e72d8236e79262dc4"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="fsm__eoe_8c.html#adf94a07ec8c1b80e72d8236e79262dc4">ec_fsm_eoe_set_ip_start</a> (<a class="el" href="fsm__eoe_8h.html#abf907ba649f2c9f35eab6e36de9b1622">ec_fsm_eoe_t</a> *fsm,<a class="el" href="structec__datagram__t.html">ec_datagram_t</a> *datagram)</td></tr>
<tr class="memdesc:adf94a07ec8c1b80e72d8236e79262dc4"><td class="mdescLeft">&#160;</td><td class="mdescRight">EoE state: SET IP START.  <a href="#adf94a07ec8c1b80e72d8236e79262dc4">More...</a><br /></td></tr>
<tr class="separator:adf94a07ec8c1b80e72d8236e79262dc4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a23fa6fe2f285cd03c39f111deda4de42"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="fsm__eoe_8c.html#a23fa6fe2f285cd03c39f111deda4de42">ec_fsm_eoe_set_ip_request</a> (<a class="el" href="fsm__eoe_8h.html#abf907ba649f2c9f35eab6e36de9b1622">ec_fsm_eoe_t</a> *fsm,<a class="el" href="structec__datagram__t.html">ec_datagram_t</a> *datagram)</td></tr>
<tr class="memdesc:a23fa6fe2f285cd03c39f111deda4de42"><td class="mdescLeft">&#160;</td><td class="mdescRight">EoE state: SET IP REQUEST.  <a href="#a23fa6fe2f285cd03c39f111deda4de42">More...</a><br /></td></tr>
<tr class="separator:a23fa6fe2f285cd03c39f111deda4de42"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3a124512284d6ccdc47d687ddf305454"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="fsm__eoe_8c.html#a3a124512284d6ccdc47d687ddf305454">ec_fsm_eoe_set_ip_check</a> (<a class="el" href="fsm__eoe_8h.html#abf907ba649f2c9f35eab6e36de9b1622">ec_fsm_eoe_t</a> *fsm,<a class="el" href="structec__datagram__t.html">ec_datagram_t</a> *datagram)</td></tr>
<tr class="memdesc:a3a124512284d6ccdc47d687ddf305454"><td class="mdescLeft">&#160;</td><td class="mdescRight">EoE state: SET IP CHECK.  <a href="#a3a124512284d6ccdc47d687ddf305454">More...</a><br /></td></tr>
<tr class="separator:a3a124512284d6ccdc47d687ddf305454"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0c446ac9cd39b1fffe3287b98a63a43a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="fsm__eoe_8c.html#a0c446ac9cd39b1fffe3287b98a63a43a">ec_fsm_eoe_set_ip_response</a> (<a class="el" href="fsm__eoe_8h.html#abf907ba649f2c9f35eab6e36de9b1622">ec_fsm_eoe_t</a> *fsm,<a class="el" href="structec__datagram__t.html">ec_datagram_t</a> *datagram)</td></tr>
<tr class="memdesc:a0c446ac9cd39b1fffe3287b98a63a43a"><td class="mdescLeft">&#160;</td><td class="mdescRight">EoE state: SET IP RESPONSE.  <a href="#a0c446ac9cd39b1fffe3287b98a63a43a">More...</a><br /></td></tr>
<tr class="separator:a0c446ac9cd39b1fffe3287b98a63a43a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a98448429c6bb84b6d2a47e801eb88161"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="fsm__eoe_8c.html#a98448429c6bb84b6d2a47e801eb88161">ec_fsm_eoe_end</a> (<a class="el" href="fsm__eoe_8h.html#abf907ba649f2c9f35eab6e36de9b1622">ec_fsm_eoe_t</a> *fsm,<a class="el" href="structec__datagram__t.html">ec_datagram_t</a> *datagram)</td></tr>
<tr class="memdesc:a98448429c6bb84b6d2a47e801eb88161"><td class="mdescLeft">&#160;</td><td class="mdescRight">State: END.  <a href="#a98448429c6bb84b6d2a47e801eb88161">More...</a><br /></td></tr>
<tr class="separator:a98448429c6bb84b6d2a47e801eb88161"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8269a9a4068f2867c14588711eeb8781"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="fsm__eoe_8c.html#a8269a9a4068f2867c14588711eeb8781">ec_fsm_eoe_error</a> (<a class="el" href="fsm__eoe_8h.html#abf907ba649f2c9f35eab6e36de9b1622">ec_fsm_eoe_t</a> *fsm,<a class="el" href="structec__datagram__t.html">ec_datagram_t</a> *datagram)</td></tr>
<tr class="memdesc:a8269a9a4068f2867c14588711eeb8781"><td class="mdescLeft">&#160;</td><td class="mdescRight">State: ERROR.  <a href="#a8269a9a4068f2867c14588711eeb8781">More...</a><br /></td></tr>
<tr class="separator:a8269a9a4068f2867c14588711eeb8781"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a65b716a32221e8729b5fe6443428d8d9"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="fsm__eoe_8c.html#a65b716a32221e8729b5fe6443428d8d9">ec_fsm_eoe_init</a> (<a class="el" href="fsm__eoe_8h.html#abf907ba649f2c9f35eab6e36de9b1622">ec_fsm_eoe_t</a> *fsm)</td></tr>
<tr class="memdesc:a65b716a32221e8729b5fe6443428d8d9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor.  <a href="#a65b716a32221e8729b5fe6443428d8d9">More...</a><br /></td></tr>
<tr class="separator:a65b716a32221e8729b5fe6443428d8d9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a405b49e6722b1378db5fbe1378eb6765"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="fsm__eoe_8c.html#a405b49e6722b1378db5fbe1378eb6765">ec_fsm_eoe_clear</a> (<a class="el" href="fsm__eoe_8h.html#abf907ba649f2c9f35eab6e36de9b1622">ec_fsm_eoe_t</a> *fsm)</td></tr>
<tr class="memdesc:a405b49e6722b1378db5fbe1378eb6765"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destructor.  <a href="#a405b49e6722b1378db5fbe1378eb6765">More...</a><br /></td></tr>
<tr class="separator:a405b49e6722b1378db5fbe1378eb6765"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab16e397cb504ed951ef8203990216332"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="fsm__eoe_8c.html#ab16e397cb504ed951ef8203990216332">ec_fsm_eoe_set_ip_param</a> (<a class="el" href="fsm__eoe_8h.html#abf907ba649f2c9f35eab6e36de9b1622">ec_fsm_eoe_t</a> *fsm, <a class="el" href="globals_8h.html#a8d9ffff7dbe1babaa4786a63f2860d57">ec_slave_t</a> *slave, <a class="el" href="structec__eoe__request__t.html">ec_eoe_request_t</a> *request)</td></tr>
<tr class="memdesc:ab16e397cb504ed951ef8203990216332"><td class="mdescLeft">&#160;</td><td class="mdescRight">Starts to set the EoE IP partameters of a slave.  <a href="#ab16e397cb504ed951ef8203990216332">More...</a><br /></td></tr>
<tr class="separator:ab16e397cb504ed951ef8203990216332"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2c89d47ddb5e4eb0b3581d25ece28861"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="fsm__eoe_8c.html#a2c89d47ddb5e4eb0b3581d25ece28861">ec_fsm_eoe_exec</a> (<a class="el" href="fsm__eoe_8h.html#abf907ba649f2c9f35eab6e36de9b1622">ec_fsm_eoe_t</a> *fsm, <a class="el" href="structec__datagram__t.html">ec_datagram_t</a> *datagram)</td></tr>
<tr class="memdesc:a2c89d47ddb5e4eb0b3581d25ece28861"><td class="mdescLeft">&#160;</td><td class="mdescRight">Executes the current state of the state machine.  <a href="#a2c89d47ddb5e4eb0b3581d25ece28861">More...</a><br /></td></tr>
<tr class="separator:a2c89d47ddb5e4eb0b3581d25ece28861"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa9cf96606328be158a3cac50e642b6d7"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="fsm__eoe_8c.html#aa9cf96606328be158a3cac50e642b6d7">ec_fsm_eoe_success</a> (const <a class="el" href="fsm__eoe_8h.html#abf907ba649f2c9f35eab6e36de9b1622">ec_fsm_eoe_t</a> *fsm)</td></tr>
<tr class="memdesc:aa9cf96606328be158a3cac50e642b6d7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns, if the state machine terminated with success.  <a href="#aa9cf96606328be158a3cac50e642b6d7">More...</a><br /></td></tr>
<tr class="separator:aa9cf96606328be158a3cac50e642b6d7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1b22bed0b9920ea2880478584f93543e"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="fsm__eoe_8c.html#a1b22bed0b9920ea2880478584f93543e">ec_fsm_eoe_prepare_set</a> (<a class="el" href="fsm__eoe_8h.html#abf907ba649f2c9f35eab6e36de9b1622">ec_fsm_eoe_t</a> *fsm, <a class="el" href="structec__datagram__t.html">ec_datagram_t</a> *datagram)</td></tr>
<tr class="memdesc:a1b22bed0b9920ea2880478584f93543e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Prepare a set IP parameters operation.  <a href="#a1b22bed0b9920ea2880478584f93543e">More...</a><br /></td></tr>
<tr class="separator:a1b22bed0b9920ea2880478584f93543e"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>EtherCAT EoE state machines. </p>

<p>Definition in file <a class="el" href="fsm__eoe_8c_source.html">fsm_eoe.c</a>.</p>
</div><h2 class="groupheader">Function Documentation</h2>
<a class="anchor" id="adf94a07ec8c1b80e72d8236e79262dc4"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ec_fsm_eoe_set_ip_start </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="fsm__eoe_8h.html#abf907ba649f2c9f35eab6e36de9b1622">ec_fsm_eoe_t</a> *&#160;</td>
          <td class="paramname"><em>fsm</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structec__datagram__t.html">ec_datagram_t</a> *&#160;</td>
          <td class="paramname"><em>datagram</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>EoE state: SET IP START. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">fsm</td><td>finite state machine </td></tr>
    <tr><td class="paramname">datagram</td><td>Datagram to use. </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="fsm__eoe_8c_source.html#l00253">253</a> of file <a class="el" href="fsm__eoe_8c_source.html">fsm_eoe.c</a>.</p>

</div>
</div>
<a class="anchor" id="a23fa6fe2f285cd03c39f111deda4de42"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ec_fsm_eoe_set_ip_request </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="fsm__eoe_8h.html#abf907ba649f2c9f35eab6e36de9b1622">ec_fsm_eoe_t</a> *&#160;</td>
          <td class="paramname"><em>fsm</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structec__datagram__t.html">ec_datagram_t</a> *&#160;</td>
          <td class="paramname"><em>datagram</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>EoE state: SET IP REQUEST. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">fsm</td><td>finite state machine </td></tr>
    <tr><td class="paramname">datagram</td><td>Datagram to use. </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="fsm__eoe_8c_source.html#l00281">281</a> of file <a class="el" href="fsm__eoe_8c_source.html">fsm_eoe.c</a>.</p>

</div>
</div>
<a class="anchor" id="a3a124512284d6ccdc47d687ddf305454"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ec_fsm_eoe_set_ip_check </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="fsm__eoe_8h.html#abf907ba649f2c9f35eab6e36de9b1622">ec_fsm_eoe_t</a> *&#160;</td>
          <td class="paramname"><em>fsm</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structec__datagram__t.html">ec_datagram_t</a> *&#160;</td>
          <td class="paramname"><em>datagram</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>EoE state: SET IP CHECK. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">fsm</td><td>finite state machine </td></tr>
    <tr><td class="paramname">datagram</td><td>Datagram to use. </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="fsm__eoe_8c_source.html#l00333">333</a> of file <a class="el" href="fsm__eoe_8c_source.html">fsm_eoe.c</a>.</p>

</div>
</div>
<a class="anchor" id="a0c446ac9cd39b1fffe3287b98a63a43a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ec_fsm_eoe_set_ip_response </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="fsm__eoe_8h.html#abf907ba649f2c9f35eab6e36de9b1622">ec_fsm_eoe_t</a> *&#160;</td>
          <td class="paramname"><em>fsm</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structec__datagram__t.html">ec_datagram_t</a> *&#160;</td>
          <td class="paramname"><em>datagram</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>EoE state: SET IP RESPONSE. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">fsm</td><td>finite state machine </td></tr>
    <tr><td class="paramname">datagram</td><td>Datagram to use. </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="fsm__eoe_8c_source.html#l00386">386</a> of file <a class="el" href="fsm__eoe_8c_source.html">fsm_eoe.c</a>.</p>

</div>
</div>
<a class="anchor" id="a98448429c6bb84b6d2a47e801eb88161"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ec_fsm_eoe_end </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="fsm__eoe_8h.html#abf907ba649f2c9f35eab6e36de9b1622">ec_fsm_eoe_t</a> *&#160;</td>
          <td class="paramname"><em>fsm</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structec__datagram__t.html">ec_datagram_t</a> *&#160;</td>
          <td class="paramname"><em>datagram</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>State: END. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">fsm</td><td>finite state machine </td></tr>
    <tr><td class="paramname">datagram</td><td>Datagram to use. </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="fsm__eoe_8c_source.html#l00478">478</a> of file <a class="el" href="fsm__eoe_8c_source.html">fsm_eoe.c</a>.</p>

</div>
</div>
<a class="anchor" id="a8269a9a4068f2867c14588711eeb8781"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ec_fsm_eoe_error </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="fsm__eoe_8h.html#abf907ba649f2c9f35eab6e36de9b1622">ec_fsm_eoe_t</a> *&#160;</td>
          <td class="paramname"><em>fsm</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structec__datagram__t.html">ec_datagram_t</a> *&#160;</td>
          <td class="paramname"><em>datagram</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>State: ERROR. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">fsm</td><td>finite state machine </td></tr>
    <tr><td class="paramname">datagram</td><td>Datagram to use. </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="fsm__eoe_8c_source.html#l00467">467</a> of file <a class="el" href="fsm__eoe_8c_source.html">fsm_eoe.c</a>.</p>

</div>
</div>
<a class="anchor" id="a65b716a32221e8729b5fe6443428d8d9"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ec_fsm_eoe_init </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="fsm__eoe_8h.html#abf907ba649f2c9f35eab6e36de9b1622">ec_fsm_eoe_t</a> *&#160;</td>
          <td class="paramname"><em>fsm</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Constructor. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">fsm</td><td>finite state machine </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="fsm__eoe_8c_source.html#l00062">62</a> of file <a class="el" href="fsm__eoe_8c_source.html">fsm_eoe.c</a>.</p>

</div>
</div>
<a class="anchor" id="a405b49e6722b1378db5fbe1378eb6765"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ec_fsm_eoe_clear </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="fsm__eoe_8h.html#abf907ba649f2c9f35eab6e36de9b1622">ec_fsm_eoe_t</a> *&#160;</td>
          <td class="paramname"><em>fsm</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Destructor. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">fsm</td><td>finite state machine </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="fsm__eoe_8c_source.html#l00078">78</a> of file <a class="el" href="fsm__eoe_8c_source.html">fsm_eoe.c</a>.</p>

</div>
</div>
<a class="anchor" id="ab16e397cb504ed951ef8203990216332"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ec_fsm_eoe_set_ip_param </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="fsm__eoe_8h.html#abf907ba649f2c9f35eab6e36de9b1622">ec_fsm_eoe_t</a> *&#160;</td>
          <td class="paramname"><em>fsm</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="globals_8h.html#a8d9ffff7dbe1babaa4786a63f2860d57">ec_slave_t</a> *&#160;</td>
          <td class="paramname"><em>slave</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structec__eoe__request__t.html">ec_eoe_request_t</a> *&#160;</td>
          <td class="paramname"><em>request</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Starts to set the EoE IP partameters of a slave. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">fsm</td><td>State machine. </td></tr>
    <tr><td class="paramname">slave</td><td>EtherCAT slave. </td></tr>
    <tr><td class="paramname">request</td><td>EoE request. </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="fsm__eoe_8c_source.html#l00088">88</a> of file <a class="el" href="fsm__eoe_8c_source.html">fsm_eoe.c</a>.</p>

</div>
</div>
<a class="anchor" id="a2c89d47ddb5e4eb0b3581d25ece28861"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int ec_fsm_eoe_exec </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="fsm__eoe_8h.html#abf907ba649f2c9f35eab6e36de9b1622">ec_fsm_eoe_t</a> *&#160;</td>
          <td class="paramname"><em>fsm</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structec__datagram__t.html">ec_datagram_t</a> *&#160;</td>
          <td class="paramname"><em>datagram</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Executes the current state of the state machine. </p>
<dl class="section return"><dt>Returns</dt><dd>1 if the datagram was used, else 0. </dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">fsm</td><td>finite state machine </td></tr>
    <tr><td class="paramname">datagram</td><td>Datagram to use. </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="fsm__eoe_8c_source.html#l00105">105</a> of file <a class="el" href="fsm__eoe_8c_source.html">fsm_eoe.c</a>.</p>

</div>
</div>
<a class="anchor" id="aa9cf96606328be158a3cac50e642b6d7"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int ec_fsm_eoe_success </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="fsm__eoe_8h.html#abf907ba649f2c9f35eab6e36de9b1622">ec_fsm_eoe_t</a> *&#160;</td>
          <td class="paramname"><em>fsm</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns, if the state machine terminated with success. </p>
<dl class="section return"><dt>Returns</dt><dd>non-zero if successful. </dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">fsm</td><td>Finite state machine </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="fsm__eoe_8c_source.html#l00140">140</a> of file <a class="el" href="fsm__eoe_8c_source.html">fsm_eoe.c</a>.</p>

</div>
</div>
<a class="anchor" id="a1b22bed0b9920ea2880478584f93543e"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int ec_fsm_eoe_prepare_set </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="fsm__eoe_8h.html#abf907ba649f2c9f35eab6e36de9b1622">ec_fsm_eoe_t</a> *&#160;</td>
          <td class="paramname"><em>fsm</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structec__datagram__t.html">ec_datagram_t</a> *&#160;</td>
          <td class="paramname"><em>datagram</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Prepare a set IP parameters operation. </p>
<dl class="section return"><dt>Returns</dt><dd>0 on success, otherwise a negative error code. </dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">fsm</td><td>finite state machine </td></tr>
    <tr><td class="paramname">datagram</td><td>Datagram to use. </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="fsm__eoe_8c_source.html#l00153">153</a> of file <a class="el" href="fsm__eoe_8c_source.html">fsm_eoe.c</a>.</p>

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="dir_c1346cf4828efdd0d2baf0d391d01b77.html">master</a></li><li class="navelem"><a class="el" href="fsm__eoe_8c.html">fsm_eoe.c</a></li>
    <li class="footer">Generated by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.11 </li>
  </ul>
</div>
</body>
</html>
